﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Customer.Domain.Dto
{
    public class ProcureProductDTO
    {

        /// <summary>
        /// 采购信息表id
        /// </summary>
        public int ProcurementId { get; set; }

        /// <summary>
        /// 采购单号
        /// </summary>
        public string? ProcurementCode { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public int? DocumentType { get; set; }

        /// <summary>
        /// 产品数量
        /// </summary>
        public int? ProcurementNum { get; set; }

        /// <summary>
        /// 收货日
        /// </summary>
        public DateTime? ReceiptDate { get; set; }

        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? AssociateNumber { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string? Pcontact { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string? PRremark { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakePerson { get; set; }

        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? MarkTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? ProcureState { get; set; }

        /// <summary>
        /// 是否入账
        /// </summary>
        public int? IsRecorded { get; set; }

        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }

        public int VendorId { get; set; }

        /// <summary>
        /// 客户id
        /// </summary>
        public int? ClientId { get; set; }

        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? VendorCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VendorName { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? Vphone { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductsID { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductsCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductsName { get; set; }
        /// <summary>
        /// 厂商编码
        /// </summary>
        public string? VendorsCode { get; set; }
        /// <summary>
        /// 内部编码
        /// </summary>
        public string? InteriorCode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specs { get; set; }
        /// <summary>
        /// 产品类别
        /// </summary>
        public int? ProductTypeID { get; set; }
        /// <summary>
        /// 存储单位
        /// </summary>
        public string? StorageUnits { get; set; }
        /// <summary>
        /// 预警（上）
        /// </summary>
        public int? Upperlimit { get; set; }
        /// <summary>
        /// 预警（下）
        /// </summary>
        public int? Lowerlimit { get; set; }
        /// <summary>
        /// 包装类型
        /// </summary>
        public int? WrapType { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public decimal? Weight { get; set; }
        /// <summary>
        /// 默认仓库
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public int? StorehouseId { get; set; }

        /// <summary>
        /// 产品数量
        /// </summary>
        public int? ProcureNum { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; } = DateTime.Now;

        public int ProcureProductId { get; set; }
    }
}
